<%@taglib uri="/struts-tags" prefix="s"%> 

<script src="<s:url value="/js/jquery-1.8.2.js"/>" /></script>
<script src="<s:url value="/js/jquery-ui-1.9.1.custom.min.js"/>"></script>
<script>
    $(function() {
        $( "#accordion" ).accordion({
            collapsible: true, active:false
        });
    });
</script>
<div id="contenttab">
<h2>Report</h2>
<div id="accordion">
    <h3>Filter</h3>
    <div>
       <s:form action="//link//" method="post" >
//textfield_attrs//        
        <s:submit value="Save" cssClass="ui-button ui-widget ui-state-default ui-corner-all" />
    </s:form>
    </div>
</div>
<s:form action="//link//PDF" method="post" >
//textfield_attrs2//        
<s:submit value="PDF" cssClass="ui-button ui-widget ui-state-default ui-corner-all" />
</s:form>

    
    <h2>//nameClass_plural// Index</h2>
    <a class="icon icon-add" href="<s:url action="//link//add" ></s:url>">Add //nameClass_plural//</a>

    <div class="autoscroll">
        <table class="list issues">
            <thead>
                <tr>
                    <th>ID</th>//th_attrs//<th></th>
                </tr>
            </thead>
            <tbody>
                <s:if test="//nameclass_plural//.size() > 0">
                    <s:iterator value="%{//nameclass_plural//}" status="rowstatus">
                        <s:if test="#rowstatus.odd == true">
                            <tr class="file odd">
                        </s:if>
                        <s:else>
                            <tr class="file even">
                        </s:else>
                                <td><s:property value="id" /></td>                                
//td_attrs//
                                                            </tr>
                    </s:iterator>
                </s:if>
            </tbody>  
        </table>
    </div>
    <s:iterator  id="psg" value="pagination">
        <s:if test="#psg.selected == 'true'">
            <strong><a href="<s:url action="//link//" ><s:param name="page_number" value="%{name}"></s:param></s:url>"><s:property value="name" /></a></strong>
        </s:if>
        <s:else>
            <a href="<s:url action="//link//" ><s:param name="page_number" value="%{name}"></s:param></s:url>"><s:property value="name" /></a>
        </s:else>
    </s:iterator>
</div>

